﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PersistanceLayer.Entity
{
   public class ChatBoxUser
    {
       public int ChatBoxUserId { get; set; }
       public string Name { get;  set; }
       public string IconUrl { get;  set; }
       public bool IsOnline { get;  set; }
       public string NickName { get;  set; }

       public Position Position { get;  set; }
       public DateTime LastSeen { get; set; }

    }
    public class ChatBoxMessage
    {
        public PersistanceLayer.Entity.ChatBoxUser User { get; set; }
        public String Message { get; set; }

    }
    public class Position
    {
        public double Latitude { get; set; }
        public double Longitude { get; set; }
    }
}
